<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人中心</title>
<link type="text/css" rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/global.css"/>
<link type="text/css" rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/css.css"/>
<link rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/powerFloat.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['js_path']; ?>/jnotify/jNotify.jquery.css" />
</head>
<body>
<?php echo $this->fetch('header.html'); ?>
<div id="wrapper">
  <div id="content">
    <div id="con_le"> <?php echo $this->fetch('user_nav.html'); ?> </div>
    
    
    <div id="con_box">
      <div class="Current"><?php echo $this->_var['position']; ?></div>
      <div class="con_top"> <?php echo $this->fetch('user_common_detail.html'); ?>
        <div class="clear"></div>
      </div>
      <div id="user_content"> <?php echo $this->fetch('message.html'); ?>
        <div id="message_action"> <a href="<?php echo $this->_var['site_url']; ?>user/account/points">积分日志</a> <a href="<?php echo $this->_var['site_url']; ?>user/account/amount">账户日志</a> <a href="<?php echo $this->_var['site_url']; ?>user/account/experience" >经验日志</a> </div>
        <div id="account_detail">
          <p>用户积分：<span><?php echo $this->_var['data']['points']; ?></span></p>
          <p>经验：<span><?php echo $this->_var['data']['experience']; ?></span></p>
          <p>余额：<span><?php echo $this->_var['data']['amount']; ?></span></p>
        </div>
       
       <?php if (! empty ( $this->_var['log_list'] ) > 0): ?>
        <table width="100%" cellspacing="0" cellpadding="0" class="tableStatic">
          <thead>
            <tr>
              <td width="10%">增/减</td>
              <td width="20%">值</td>
              <td width="50%">描述</td>
              <td width="20%">时间</td>
            </tr>
          </thead>
          <tbody>
          
          <?php $_from = $this->_var['log_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
          <tr>
            <td align="center"><?php echo __($this->_var['list']['operation']); ?></td>
            <td align="center"><?php echo $this->_var['list']['account']; ?></td>
            <td><?php echo $this->_var['list']['message']; ?></td>
            <td align="center"><?php echo Date::timeformat($this->_var['list']['add_time'],3); ?></td>
          </tr>
          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            </tbody>
          
          <?php if (! empty ( $this->_var['page'] )): ?>
          <tfoot>
            <tr>
              <td colspan="5" align="center"><?php echo $this->_var['page']; ?></td>
            </tr>
          </tfoot>
          <?php endif; ?>
        </table>   <?php else: ?>
        <h1 style="color:#CCC;text-align:center;margin-top:60px;">暂无</h1>
        <?php endif; ?>
        <div class="clear"></div>
      </div>
    </div>
    
    <div class="clear"></div>
  </div>
   
</div>
<?php echo $this->fetch('footer.html'); ?>
<?php echo $this->fetch('hidden_div.html'); ?> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery-powerFloat.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.pngfix.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/scrolltopcontrol.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/myfloat.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/lhgdialog/lhgcore.lhgdialog.min.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jnotify/jNotify.jquery.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.validate.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/message.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/common.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/user.js"></script> 
<script>
$(function(){
	//当前状态
	$('#message_action a').each(function(){
		if($(this).attr('href') == window.location.pathname){
			  $(this).attr('class','current');
		}
	});
})

</script>
</body>
</html>
